﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Model;
using Repository;

namespace UI.Models
{
    public class CategoryModel
    {
        public List<Category> liCateGory
        {
            get
            {
                List<Category> liCateGory = new List<Category>();
                var repository = RepositoryManager.CreateCategoryRepository();
                liCateGory = repository.GetAll();
                return liCateGory;
            }
        }
    }
}